<template>
  <el-form label-width="80px">
    <el-row>
      <el-col :span="24">
        <el-form-item label="项目名称">
          <el-input v-model="baseInfo.name" disabled></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <!-- 执行单位部门 -->
    <el-row>
      <!-- 公司 -->
      <el-col :span="8">
        <el-form-item label="项目编号">
          <el-input v-model="baseInfo.batch_id" placeholder="项目待分配" disabled></el-input>
        </el-form-item>
      </el-col>

      <el-col :span="8">
        <el-form-item label="执行公司">
          <el-input v-model="baseInfo.company" placeholder="项目待分配" disabled></el-input>
        </el-form-item>
      </el-col>
      <!-- 部门 -->
      <el-col :span="8">
        <el-form-item label="执行部门">
          <el-input v-model="baseInfo.dept" placeholder="项目待分配" disabled></el-input>
        </el-form-item>
      </el-col>
    </el-row>

    <!-- 创建人联系方式 -->
    <el-row>

      <el-col :span="8">
        <el-form-item label="客户名称">
          <el-input v-model="baseInfo.partner_id" placeholder="客户名称" disabled></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="8">
        <el-form-item label="项目币种" prop="currency">
          <el-input v-model="baseInfo.currency" placeholder="币种" maxlength="11" disabled></el-input>
        </el-form-item>
      </el-col>

      <el-col :span="8">
        <el-form-item label="项目城市" prop="city">
          <el-input v-model="baseInfo.city" placeholder="项目城市" disabled></el-input>
        </el-form-item>
      </el-col>
    </el-row>

    <el-row>
      <el-col :span="8">
        <el-form-item label="项目负责">
          <el-input v-model="baseInfo.leader" placeholder="负责人" disabled></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="8">
        <el-form-item label="客户对接">
          <el-input v-model="baseInfo.customer" placeholder="负责人" disabled></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="8">
        <el-form-item label="销售经理" label-width="80px">
          <el-input v-model="baseInfo.seller" placeholder="负责人" disabled></el-input>
        </el-form-item>
      </el-col>
    </el-row>

    <el-row>
      <el-col :span="8">
        <el-form-item label="项目电话">
          <el-input v-model="baseInfo.leader_mobile" placeholder="联系方式" maxlength="11" disabled></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="8">
        <el-form-item label="客户电话">
          <el-input v-model="baseInfo.customer_mobile" placeholder="联系方式" maxlength="11" disabled></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="8">
        <el-form-item label="销售电话">
          <el-input v-model="baseInfo.seller_mobile" placeholder="联系方式" maxlength="11" disabled></el-input>
        </el-form-item>
      </el-col>
    </el-row>

    <el-row>
      <!-- 开始时间 -->
      <el-col :span="8">
        <el-form-item label="立项时间">
          <el-input v-model="baseInfo.created_at" placeholder="项目待分配" disabled></el-input>
        </el-form-item>
      </el-col>

      <el-col :span="8">
        <el-form-item label="开始时间">
          <el-input v-model="baseInfo.start" placeholder="项目待分配" disabled></el-input>
        </el-form-item>
      </el-col>
      <!-- 结束时间 -->
      <el-col :span="8">
        <el-form-item label="结束时间">
          <el-input v-model="baseInfo.stop" placeholder="项目待分配" disabled></el-input>
        </el-form-item>
      </el-col>
    </el-row>

    <!--客户报价,项目成本-->
    <el-row>
      <el-col :span="8">
        <el-form-item label="立项金额">
          <el-input v-model="baseInfo.offer" placeholder="立项金额" disabled></el-input>
        </el-form-item>
      </el-col>

      <el-col :span="8">
        <el-form-item label="预算金额">
          <el-input v-model="baseInfo.offer_ys" placeholder="预算金额" disabled></el-input>
        </el-form-item>
      </el-col>

      <el-col :span="8">
        <el-form-item label="结算金额">
          <el-input v-model="baseInfo.offer_js" placeholder="结算金额" disabled></el-input>
        </el-form-item>
      </el-col>
    </el-row>

    <el-row>
      <el-col :span="8">
        <el-form-item label="立项成本">
<!--          cost-->
          <el-input v-model="baseInfo.offer" placeholder="立项成本" disabled></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="8">
        <el-form-item label="预算成本">
          <el-input v-model="baseInfo.cost_ys" placeholder="预算成本" disabled></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="8">
        <el-form-item label="结算成本">
          <el-input v-model="baseInfo.cost_js" placeholder="结算成本" disabled></el-input>
        </el-form-item>
      </el-col>
    </el-row>

    <slot name="finance1"></slot>

  </el-form>
</template>

<script>
    export default {
        name: "cwBaseInfo",
        props:['baseInfo'],
    }
</script>

<style scoped>

</style>
